package com.mybatiscore.POJO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TStudent {
    private Integer sid;
    private String sname;
    private Clasz clasz;

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public Clasz getClasz() {
        return clasz;
    }

    public void setClasz(Clasz clasz) {
        this.clasz = clasz;
    }

    @Override
    public String toString() {
        return "TStudent{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", clasz=" + clasz +
                '}';
    }
}
